package org.mindrive.system.collection.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DICTIONARY")
@ApiModel(value = "DictionaryEntity", description = "字典表")
public class DictionaryEntity {

    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private String id;

    private String typeId;//类型ID

    private String name;//名称

    @TableField(value = "condition", keepGlobalFormat = true)
    private String condition;//条件

    private String creator;

    private Date createdAt;
}
